import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Home from '@/home/Home'
import ParentChildTable from '@/home/parentChildTable'
import ParentChildlr from '@/home/parentchildlr'
import ParentChildtree from '@/home/parentchildtree'
import ParentChildtreeV1 from '@/home/parentchildtree_v1'
import ParentChildtreeV2 from '@/home/parentchildtree_v2'
import TreeTable from '@/home/treeTable'
import a from '@/home/a'
import c from '@/home/c'
import b from '@/home/b'
import parentChildTable_v2 from "@/home/parentChildTable_v2"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/lrTable',
      name: 'ParentChildlr',
      component: ParentChildlr
    },
    {
      path: '/parentchildtree',
      name: 'ParentChildtree',
      component: ParentChildtree
    },
    {
      path: '/parentchildtree_v1',
      name: 'parentchildtree_v1',
      component: ParentChildtreeV1
    },
    {
      path: '/parentchildtree_v2',
      name: 'parentchildtree_v2',
      component: ParentChildtreeV2
    },
    {
      path: '/treeTable',
      name: 'TreeTable',
      component: TreeTable
    },
    {
      path: '/ParentChildTable',
      name: 'ParentChildTable',
      component: ParentChildTable
    },
    {
      path: '/a',
      name: 'a',
      component: a
    },
    {
      path: '/c',
      name: 'c',
      component: c
    },
    {
      path: '/b',
      name: 'b',
      component: b
    },
    {
      path: '/parentChildTable_v2',
      name: 'parentChildTable_v2',
      component: parentChildTable_v2
    },
  ]
})
